/*
 * timing.c
 *
 *  Created on: 12.12.2011
 *      Author: Moritz
 */


void delayms (int ms) {
	unsigned int i;
	unsigned int end = 2400*ms;
	for (i=0;i<end;i++)
		asm("nop");
}

void delayus (int us) {
	unsigned int i;
	unsigned int end = 2.4*us;
	for (i=0;i<end;i++)
		asm("nop");
}
